@steadyschedule
@smoke
Feature: Steady Schedule Functionalities
Description: As a user of the system
I want to manage steady schedules
So that I can maintain and track steady assignments
File name: steadySchedule.feature
Relative path: features/steadySchedule.feature
Given
TR user logged into the application
And
User navigates to the steady schedule page
And
User clicks on GO button
And
Select Job code for some steadies under CO tab
Then
Enter remarks for first row
And
User clicks on Save button
Then
User should see success message for steady schedule
And
Verify total and guarantee value
And
Select Job code for some steadies under FM tab
Then
Enter remarks for first row
And
User clicks on Save button
Then
User should see success message for steady schedule
And
Verify total and guarantee value
And
Select Job code for some steadies under Vessel tab
Then
Enter remarks for first row
And
User clicks on Save button
Then
User should see success message for steady schedule
And
Select Job code for some steadies under Yard tab
Then
Enter remarks for first row
And
User clicks on Save button
Then
User should see success message for steady schedule
And
Select Job code for some steadies under Rail tab
Then
Enter remarks for first row
And
User clicks on Save button
Then
User should see success message for steady schedule
And
Select Job code for some steadies under TSRV tab
Then
Enter remarks for first row
And
User clicks on Save button
locator.waitFor: Error: strict mode violation: locator('xpath=//span[normalize-space(text())=\'Steady Schedule Information saved successfully\']') resolved to 2 elements:
1) (span _ngcontent-ghs-c82="" class="text-bold color-whi…)Steady Schedule Information saved successfully(/span) aka getByText('Steady Schedule Information saved successfully').first()
2) (span _ngcontent-ghs-c82="" class="text-bold color-whi…)Steady Schedule Information saved successfully(/span) aka getByText('Steady Schedule Information saved successfully').nth(1)
=========================== logs ===========================
waiting for locator('xpath=//span[normalize-space(text())=\'Steady Schedule Information saved successfully\']') to be visible
============================================================
at SteadySchedulePage.(anonymous) (C:\SOTA\src\pages\steadySchedule.page.ts:425:98)
at step (C:\SOTA\src\pages\steadySchedule.page.ts:33:23)
at Object.next (C:\SOTA\src\pages\steadySchedule.page.ts:14:53)
at C:\SOTA\src\pages\steadySchedule.page.ts:8:71
at __awaiter (C:\SOTA\src\pages\steadySchedule.page.ts:4:12)
at SteadySchedulePage.verifySuccessMessage (C:\SOTA\src\pages\steadySchedule.page.ts:421:16)
at World.(anonymous) (C:\SOTA\src\test\steps\steadySchedule.steps.ts:85:65)
at step (C:\SOTA\src\test\steps\steadySchedule.steps.ts:33:23)
at Object.next (C:\SOTA\src\test\steps\steadySchedule.steps.ts:14:53)
at C:\SOTA\src\test\steps\steadySchedule.steps.ts:8:71
at __awaiter (C:\SOTA\src\test\steps\steadySchedule.steps.ts:4:12)
at World.(anonymous) (C:\SOTA\src\test\steps\steadySchedule.steps.ts:82:12)